#ifndef _INCLUDE_ONET_S_TCP_MESSAGE_
#define _INCLUDE_ONET_S_TCP_MESSAGE_

/*
    Copright: Kai "DrHalan" Mast - www.freakybytes.org

    This file is part of OpenNetwork. See OpenNetwork.h for license information.
*/

#include "include/OpenNetwork/types.h"

namespace onet
{

struct STCPMessage
{
    STCPMessage(PeerID id_, BitStream* data_) : peer(id_), data(data_)
    {
    }

    //! The Id of the receiving Peer
    PeerID peer;

    //! The actual message
    BitStream* data;
};

} //end namespace onet

#endif
